package com.example.batchprocessing.test;

import org.springframework.batch.item.ItemProcessor;

/**
  *处理数据器
  *ItemProcessor<Bean, DealBean>
  *Bean为传入数据，DealBean为处理后返回数据
  */
public class JdbcItemProcessor implements ItemProcessor<PeopleX, DealBean> {

    public DealBean process(PeopleX bean) throws Exception {
        // Bean bean 为读操作数据
        DealBean deal = new DealBean();

        return deal;

    }
}
